namespace OpenCalais.Domain
{
    /// <summary>
    /// The type of the node that contains error messages
    /// </summary>
    [RDFAbout("http://s.opencalais.com/1/type/sys/Message")]
    public class Message
  : Resource  {
        /// <summary>
        /// Internal code for an error message
        /// </summary>
        [RDFAbout("http://s.opencalais.com/1/pred/messageCode")]
        public string MessageCode { get; set; }

        /// <summary>
        /// Human-friendly text that describes an error message
        /// </summary>
        [RDFAbout("http://s.opencalais.com/1/pred/text")]
        public string Text { get; set; }
    }
}